<?php
class Admin_Form_UserEdit extends Admin_Form_UserAdd {
	public function init() {
	    $this->lockMakeup();
		parent::init();
		$this->unlockMakeup();

		$this->getElement('username')
			 ->getValidator('NoRecordExists')
			 ->setExclude(array('field' => 'id',
								'value' => $this->_request->getParam('id')));

		$this->removeElement('password');
		$this->removeElement('passwordConfirm');
		$this->makeup();
		$this->setLegend('Edit User');
	}
}
